package com.web.controller.schoolManagement;

import com.common.apiresult.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @author liuxuhuang
 * @date 2023年04月04日 11:43
 * @desc 学生控制器
 */
@RestController
@Api(value = "student", tags = "学生控制器")
@RequestMapping(value = "/schoolManagement/student")
@Slf4j
public class StudentController {
    @PostMapping(value = "assignment")
    @ApiOperation(value = "为学生分配宿舍")
    public CommonResult assignment() {
        return CommonResult.success();
    }

    @GetMapping(value = "getExchangeDorm")
    @ApiOperation(value = "获取换宿申请")
    public CommonResult getExchangeDorm() {
        return CommonResult.success();
    }

    @PutMapping(value = "updateExchangeDorm")
    @ApiOperation(value = "更新换宿申请表单")
    public CommonResult updateExchangeDorm() {
        return CommonResult.success();
    }

    @PutMapping(value = "exchangeDorm")
    @ApiOperation(value = "为学生换宿")
    public CommonResult exchangeDorm() {
        return CommonResult.success();
    }

    @GetMapping(value = "/getStudent")
    @ApiOperation(value = "获取学生")
    public CommonResult getStudent() {
        return CommonResult.success();
    }

    @PutMapping(value = "/updateStudent")
    @ApiOperation(value = "修改学生信息")
    public CommonResult updateStudent() {
        return CommonResult.success();
    }

    @DeleteMapping(value = "/deleteStudent")
    @ApiOperation(value = "删除学生")
    public CommonResult deleteStudent() {
        return CommonResult.success();
    }
}
